package com.jinken.handler;

import com.alibaba.csp.sentinel.slots.block.BlockException;

/**
 * 统一流控降级方法
 */
public class BlockHandler {
    public static String testblockHandler(Integer id, BlockException e){
        System.out.println("id1111 = " + id);
        e.printStackTrace();
        return "当前访问人数过多，请稍后再试...";
    }

}
